package com.chao.demo.server.Impl;

import com.chao.demo.bean.Scheduled;
import com.chao.demo.server.ScheduledServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ScheduledServerImpl implements ScheduledServer {

    @Autowired
    private com.chao.demo.mapper.ScheduledMapper ScheduledMapper;

    @Override
    public Scheduled getCronById(int cronId) {
        return ScheduledMapper.getCronById(cronId);
    }
}
